# !/usr/bin/env python3
# -*- coding: utf-8 -*-

import os

__author__ = 'InG_byr'

# configuration
basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')

SECRET_KEY = '\x9c\x1b\xcf:\x81\xe6\t3\x9az<R\xc4wAX\xe4\t.\x05<\xf9\x0e\xc4'
CSRF_ENABLED = True

USERNAME = 'admin'
PASSWORD = 'admin'

MAIL_SERVER = 'smtp.qq.com'
MAIL_PORT = 465
MAIL_USE_TLS = False
MAIL_USE_SSL = True
MAIL_USERNAME = ''
MAIL_PASSWORD = ''
